<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>.:::Cajero ATM Registro Operacion:::.</title>
<style type="text/css">
<!--
body {
	background-image: url(images/fondo_azul.jpg);
}
.Estilo4 {
	color: #FFFFFF;
	font-weight: bold;
	font-size: 24px;
}

.EstiloEncabezado {
	color: #FFFFFF;
	font-weight: bold;
	font-size: 24px;
}
.Estilo5 {color: #539BCB; font-weight: bold; }
.Estilo6 {color: #5FA3CA}
.Estilo7 {color: #5198C6}
.EstiloDatos {color: #D1E4F2}
.EstiloEncabezadoTexto {color: #2C6A99; font-weight: bold; }
-->
</style></head>

<%
	if(session.getAttribute("usuarioATM")!= null && session.getAttribute("tarjetaATM")!= null && session.getAttribute("privilegioATM")!= null  && Integer.parseInt(session.getAttribute("privilegioATM").toString())== 1 && request.getAttribute("imprimeSaldo")!=null) {
	
%>

<body>



<form id="form1" name="form1" method="post" action="atm.do">
  <table width="345" border="4" align="center" bordercolor="#0000FF">
    <tr bordercolor="#0000FF" bgcolor="#D1E4F2">
      <td colspan="2"><p align="center" class="Estilo5">CAJERO ATM</p>
          <p align="center"><img src="images/imagenCajero.jpg" alt="a" width="240" height="240" longdesc="cajeroatm" /></p>
        <p align="center" class="Estilo4"><span class="Estilo7">Consulta de Saldo</span><span class="Estilo6"></span></p>        </td>
    </tr>
    <tr bordercolor="#0000FF" bgcolor="#6FA9D1">
      <td colspan="2"><label></label>
      <p>
      
      <%  out.print(request.getAttribute("imprimeSaldo")); %>
      </p>
      </td>
    </tr>
    <tr bordercolor="#0000FF" bgcolor="#6FA9D1">
      <td width="95"><label>
        <div align="center"></div>
      </label></td>
      <td width="228"><label>
        <div align="center">
          <input type="submit" name="c" id="c" value="Salir" />
          </div>
      </label></td>
    </tr>
  </table>
</form>
</body>

<%
}
else{
pageContext.forward("index.jsp");

}

%>
</html>
